package com.mask.im.business.model.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MessageDTO {
    //id
    private Integer id;
    //消息标题
    private String messageTitle;
    //消息内容
    private String messageContent;
    //消息类型（单播，广播）
    private Integer messageType;

    private String userIsDelete;
    //发送时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    private LocalDateTime createTime;
}

